package realtimelib {
	/**
	 * This class provides the basic structure for sending a generic action from peer to peer.
	 */
	public class Action {
		private var _type:int;
		private var _details:*;
		
		public function Action(type:int, details:*=null) {
			_type = type;
			_details = details;
		}
		
		public function get type():int { return _type; }
		public function set type(i:int):void { _type = i; }
		
		public function get details():* { return _details; }
		public function set details(d:*):void { _details = d; }
	}
}